/**
 * @FILE:EmsPlvTypes.java
 * @AUTHOR:chenqiu
 * @DATE:2016年5月30日 下午2:27:31
 **/
package com.smarttest.common.beans.protolcol.plv;

import java.util.Arrays;

import com.smarttest.common.beans.protolcol.plv.PlvDefine.PlvOperator;
import com.smarttest.common.beans.protolcol.plv.PlvDefine.PlvType;



/*******************************************
 * @COMPANY:北京汇通天下科技有限公司
 * @CLASS:EmsPlvTypes
 * @DESCRIPTION:	
 * @AUTHOR:chenqiu
 * @VERSION:v1.0
 * @DATE:2016年5月30日 下午2:27:31
 *******************************************/
public class PlvConfig {

//    private int id;
    private String id;
    private String name;
    private PlvType type;
    private PlvOperator operator;
    private String specialExpression;
    private double coefficient;  
    private int precision;
    private boolean isArray=false;
    private String desc;
    private String[] display;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public PlvType getType() {
		return type;
	}
	public void setType(PlvType type) {
		this.type = type;
	}
	public PlvOperator getOperator() {
		return operator;
	}
	public void setOperator(PlvOperator operator) {
		this.operator = operator;
	}
	public String getSpecialExpression() {
		return specialExpression;
	}
	public void setSpecialExpression(String specialExpression) {
		this.specialExpression = specialExpression;
	}
	public double getCoefficient() {
		return coefficient;
	}
	public void setCoefficient(double coefficient) {
		this.coefficient = coefficient;
	}
	public int getPrecision() {
		return precision;
	}
	public void setPrecision(int precision) {
		this.precision = precision;
	}
	public boolean isArray() {
		return isArray;
	}
	public void setArray(boolean isArray) {
		this.isArray = isArray;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String[] getDisplay() {
		return display;
	}
	public void setDisplay(String[] display) {
		this.display = display;
	}
	@Override
	public String toString() {
		return "PlvConfig [id=" + id + ", name=" + name + ", type=" + type
				+ ", operator=" + operator + ", specialExpression="
				+ specialExpression + ", coefficient=" + coefficient
				+ ", precision=" + precision + ", isArray=" + isArray
				+ ", desc=" + desc + ", display=" + Arrays.toString(display)
				+ "]";
	}
	

}

